$OpenBSD: patch-kwin_data_kwin_translate_confrequest_rule_sh,v 1.1 2014/01/15 19:42:12 zhuk Exp $
Deconflict kde-runtime with kdebase-3.x.
--- kwin/data/kwin_translate_confrequest_rule.sh.orig	Wed Jan 15 15:20:33 2014
+++ kwin/data/kwin_translate_confrequest_rule.sh	Wed Jan 15 15:20:45 2014
@@ -1,5 +1,5 @@
 #!/bin/sh
-COUNT=`kreadconfig --file kwinrulesrc --group General --key count`
+COUNT=`kreadconfig4 --file kwinrulesrc --group General --key count`
 if [ -z "$COUNT" ]; then
     exit 0 # nothing to do for us
 fi
@@ -8,7 +8,7 @@ fi
 # it's however less reliable (installation, ini config, etc.)
 
 for i in `seq 1 $COUNT`; do
-    if [ "`kreadconfig --file kwinrulesrc --group $i --key ignoregeometryrule`" = "2" ]; then
-        kwriteconfig --file kwinrulesrc --group $i --key ignoregeometryrule "3"
+    if [ "`kreadconfig4 --file kwinrulesrc --group $i --key ignoregeometryrule`" = "2" ]; then
+        kwriteconfig4 --file kwinrulesrc --group $i --key ignoregeometryrule "3"
     fi
-done
\ No newline at end of file
+done
